﻿using MediatR;
using ProductManagement.Domain.Dtos;
using ProductManagement.Domain.ProductsDomain;
using SqlSugar;

namespace ProductManagement.Applcation.Command
{
    /// <summary>
    /// 产品显示中介者
    /// </summary>
    public class ProductSelectCommand:IRequest<ProductPage>
    {
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页显示几条数据
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? PName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? PNumber { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }
        /// <summary>
        /// 产品分类Id
        /// </summary>
        public int ProductTypeId { get; set; }


    }
}
